package com.hunk.test;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonAutoDetect(setterVisibility=Visibility.NONE,getterVisibility=Visibility.NONE)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserInfo implements Serializable {

	private static final long serialVersionUID = -8096473264184760258L;
	
	@JsonProperty("firstName")
	private String UserName;
	@JsonProperty("passWord")
	private String PassWord;
	@JsonProperty("orgId")
	private String ORGId;
	@JsonProperty("code")
	private String Code;
	@JsonProperty("type")
	private int Type;
	
	public String getUserName() {
		return UserName;
	}
	
	public void setUserName(String userName) {
		UserName = userName;
	}
	public String getPassWord() {
		return PassWord;
	}
	public void setPassWord(String passWord) {
		PassWord = passWord;
	}
	public String getORGId() {
		return ORGId;
	}
	public void setORGId(String oRGId) {
		ORGId = oRGId;
	}
	public String getCode() {
		return Code;
	}
	public void setCode(String code) {
		Code = code;
	}
	public int getType() {
		return Type;
	}
	public void setType(int type) {
		Type = type;
	}

	@Override
	public String toString() {
		return "UserInfo [UserName=" + UserName + ", PassWord=" + PassWord
				+ ", ORGId=" + ORGId + ", Code=" + Code + ", Type=" + Type
				+ "]";
	}
}
